import {create} from 'zustand'

const useModalState = create((set) => ({
    isCalledFromFAB: false,
    callFromFAB: () => set({isCalledFromFAB: true}),
    callFromEdit: () => set({isCalledFromFAB: false}),

    stackId: null,
    setStackId: (id) => set({stackId: id})
}))

export default useModalState




